package br.com.daniele.bean;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias(value = "infProt")
@Entity
public class InfProt {

	private long id;
	private String tpAmb;
	private String verAplic;
	private String chNFe;
	private String dhRecbto;
	private String nProt;
	private String digVal;
	private String cStat;
	private String xMotivo;

	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public long getId() {
		return id;
	}

	public String getTpAmb() {
		return tpAmb;
	}

	public String getVerAplic() {
		return verAplic;
	}

	public String getChNFe() {
		return chNFe;
	}

	public String getDhRecbto() {
		return dhRecbto;
	}

	public String getnProt() {
		return nProt;
	}

	public String getDigVal() {
		return digVal;
	}

	public String getcStat() {
		return cStat;
	}

	public String getxMotivo() {
		return xMotivo;
	}

	public void setId(long id) {
		this.id = id;
	}

	public void setTpAmb(String tpAmb) {
		this.tpAmb = tpAmb;
	}

	public void setVerAplic(String verAplic) {
		this.verAplic = verAplic;
	}

	public void setChNFe(String chNFe) {
		this.chNFe = chNFe;
	}

	public void setDhRecbto(String dhRecbto) {
		this.dhRecbto = dhRecbto;
	}

	public void setnProt(String nProt) {
		this.nProt = nProt;
	}

	public void setDigVal(String digVal) {
		this.digVal = digVal;
	}

	public void setcStat(String cStat) {
		this.cStat = cStat;
	}

	public void setxMotivo(String xMotivo) {
		this.xMotivo = xMotivo;
	}

}
